<script src="http://static.ak.facebook.com/js/api_lib/v0.4/XdCommReceiver.js" type="text/javascript"></script>
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<script type="text/javascript">

	var tabstyle = {fontSize: "0.72em", 
					color: "black",
			 		backgroundColor: "#C1E0A0", 
			 		marginLeft: "4px", 
			 		width: "157px"
			 		};

	var tablist = [ new Tab("Your Friends",tabstyle),
	           		new Tab("Find Friends",tabstyle)
	    		  ];
	var tabs = new TabsContainer(tablist, $("pagetabs"), '/<%= request.getRequestURI().split("/")[1] %>/');
	<% 
	if (session.getAttribute("force") != null){		
	%>	
		tabs.drawContainer("<%= (String) session.getAttribute("force") %>");
	<%
		session.removeAttribute("force");
	}
	else{
	%>
		tabs.drawContainer();
	<%
	}
	%>
	
	$("pagetitle").update("Your network");

</script>